﻿namespace FiftyOne.Foundation.Mobile.Detection.Wurfl.Handlers
{
    using System;

    internal class MobileCatchAllHandler : EditDistanceHandler
    {
        private const int CONFIDENCE = 4;

        protected internal override bool CanHandle(string userAgent)
        {
            return ((((userAgent.Contains("WAP") || userAgent.Contains("MIDP")) || (userAgent.Contains("CLDC") || userAgent.Contains("Teleca-"))) || userAgent.Contains("Screen-")) || userAgent.Contains("mobile"));
        }

        internal override byte Confidence
        {
            get
            {
                return 4;
            }
        }
    }
}

